home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 596 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.iag.net!news
  2. From: jatmon@iag.net (John R Buchan)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: how do i...
  5. Date: 7 Jan 1996 18:19:43 GMT
  6. Organization: Internet Access Group, Orlando, Florida
  7. Message-ID: <4cp2rv$h9l@news.iag.net>
  8. References: <4cl4ja$558@news-e2a.gnn.com>
  9. NNTP-Posting-Host: pm3-orl11.iag.net
  10. X-Newsreader: WinVN 0.99.7
  11.  
  12. In article <4cl4ja$558@news-e2a.gnn.com>, MrBurns@gnn.com says...
  13. >
  14. >hi all.  i wrote an address book that saves addresses to disk
  15. >with a .adr extension.  i want to create a feature that allows
  16. >the user to see the .adr files in the directory.  basically
  17. >what im looking for is a command that will let me do the dos
  18. >equivalent of "dir *.adr".  unfortunately i cant find any
  19. >commands to do this.  im using borland c++ version 3.0.
  20. >(note this program is written in C not C++).  any help would
  21. >be greatly appreciated. 
  22.  
  23. Look into findfirst and findnext in dir.h.
  24.  
  25. -- 
  26. John R Buchan           -:|:-     Looking for that elusive FAQ?  ftp to:
  27. jatmon@mail.iag.net     -:|:-     rtfm.mit.edu /pub/usenet-by-group/....
  28.  
  29.